package com.yk.fs.model;

/**
 * Created by Limit on 2017/9/8.
 */
public enum Icon {
    FILE_ICON,
    FOLDER_ICON,
    UNKNOWN_ICON;

    @Override
    public String toString() {
        switch (this){
            case FILE_ICON:
                return "/hadoop-online/img/file.png";
            case FOLDER_ICON:
                return "/hadoop-online/img/folder.png";
            default:
                return "/hadoop-online/img/unknown.png";
        }
    }
}
